const mongoose = require("../../../db/db");

/**
 * @description 管理系统 行业类目模型
 */
const Schema = mongoose.Schema({
    id: {
        type: String,
    },
    parentId: {
        type: String,
    },
    //创建日期
    createDate: {
        type: Number,
    },
    //行业类目名称
    className: {
        type: String,
        require: true
    },
    //图标
    classIcon: {
        type: String,
        require: true
    },
    //排序
    sort: {
        type: Number,
    },
    //状态
    status: {
        type: String,
        default: "1"
    }
})
const MAIN_TAB_CLASS = mongoose.model("MAIN_TAB_CLASS", Schema);
module.exports = MAIN_TAB_CLASS;